<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:tns="Silverlight" elementFormDefault="qualified" targetNamespace="Silverlight" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:import schemaLocation="http://localhost/advantage5/MailService/NewMailService.svc?xsd=xsd2" namespace="http://schemas.datacontract.org/2004/07/SlEmail.Web.MailService.Interfaces" />
  <xs:import schemaLocation="http://localhost/advantage5/MailService/NewMailService.svc?xsd=xsd3" namespace="http://schemas.microsoft.com/2003/10/Serialization/Arrays" />
  <xs:import schemaLocation="http://localhost/advantage5/MailService/NewMailService.svc?xsd=xsd4" namespace="http://schemas.datacontract.org/2004/07/SlEmail.Web.MailService" />
  <xs:import schemaLocation="http://localhost/advantage5/MailService/NewMailService.svc?xsd=xsd5" namespace="http://schemas.datacontract.org/2004/07/LumiSoft.Net.IMAP" />
  <xs:element name="Login">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q1="http://schemas.datacontract.org/2004/07/SlEmail.Web.MailService.Interfaces" minOccurs="0" name="userInfo" nillable="true" type="q1:UserInformation" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="LoginResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="LoginResult" type="xs:boolean" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="Logout">
    <xs:complexType>
      <xs:sequence />
    </xs:complexType>
  </xs:element>
  <xs:element name="GetHeaders">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="folderName" nillable="true" type="xs:string" />
        <xs:element xmlns:q2="http://schemas.microsoft.com/2003/10/Serialization/Arrays" minOccurs="0" name="headerOrderNumbers" nillable="true" type="q2:ArrayOfint" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetAllHeaders">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="folderName" nillable="true" type="xs:string" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetFolderHeaderNumbersDetails">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="folderName" nillable="true" type="xs:string" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetFolderHeaderNumbersDetailsResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q3="http://schemas.datacontract.org/2004/07/SlEmail.Web.MailService" minOccurs="0" name="GetFolderHeaderNumbersDetailsResult" nillable="true" type="q3:FolderHeaderNumberDetails" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetSearchHeaderNumbers">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="folderName" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="searchCriteria" nillable="true" type="xs:string" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetSearchHeaderNumbersResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q4="http://schemas.datacontract.org/2004/07/SlEmail.Web.MailService" minOccurs="0" name="GetSearchHeaderNumbersResult" nillable="true" type="q4:SearchHeaderNumbersResult" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetAttachmentDownloadUrl">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="folderName" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="emailId" type="xs:long" />
        <xs:element minOccurs="0" name="attachmentName" nillable="true" type="xs:string" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetAttachmentDownloadUrlResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q5="http://schemas.datacontract.org/2004/07/SlEmail.Web.MailService" minOccurs="0" name="GetAttachmentDownloadUrlResult" nillable="true" type="q5:AttachmentDownloadUrlResult" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetEmailDownloadUrl">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="folderName" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="emailId" type="xs:long" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetEmailDownloadUrlResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q6="http://schemas.datacontract.org/2004/07/SlEmail.Web.MailService" minOccurs="0" name="GetEmailDownloadUrlResult" nillable="true" type="q6:EmailDownloadUrlResult" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="SearchHeaders">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="folderName" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="searchCriteria" nillable="true" type="xs:string" />
        <xs:element xmlns:q7="http://schemas.microsoft.com/2003/10/Serialization/Arrays" minOccurs="0" name="headerOrderNumbers" nillable="true" type="q7:ArrayOfint" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetFolders">
    <xs:complexType>
      <xs:sequence />
    </xs:complexType>
  </xs:element>
  <xs:element name="GetFoldersResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q8="http://schemas.datacontract.org/2004/07/SlEmail.Web.MailService" minOccurs="0" name="GetFoldersResult" nillable="true" type="q8:ArrayOfImapFolder" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetMail">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="folderName" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="emailId" type="xs:long" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="NewMail">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q9="http://schemas.datacontract.org/2004/07/SlEmail.Web.MailService" minOccurs="0" name="smtpUserInfo" nillable="true" type="q9:SmtpUserInformation" />
        <xs:element xmlns:q10="http://schemas.datacontract.org/2004/07/SlEmail.Web.MailService" minOccurs="0" name="message" nillable="true" type="q10:NewMailMessage" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="NewMailResponse">
    <xs:complexType>
      <xs:sequence />
    </xs:complexType>
  </xs:element>
  <xs:element name="SaveDraft">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q11="http://schemas.datacontract.org/2004/07/SlEmail.Web.MailService" minOccurs="0" name="message" nillable="true" type="q11:DraftMailMessage" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="SaveDraftResponse">
    <xs:complexType>
      <xs:sequence />
    </xs:complexType>
  </xs:element>
  <xs:element name="DeleteMessage">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="folderName" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="emailId" type="xs:long" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="DeleteMessageResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="DeleteMessageResult" type="xs:long" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="FlagMessage">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="folderName" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="emailId" type="xs:long" />
        <xs:element xmlns:q12="http://schemas.datacontract.org/2004/07/LumiSoft.Net.IMAP" minOccurs="0" name="flags" nillable="true" type="q12:ArrayOfIMAP_MessageFlags" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="FlagMessageResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q13="http://schemas.datacontract.org/2004/07/SlEmail.Web.MailService" minOccurs="0" name="FlagMessageResult" nillable="true" type="q13:FlagMessageCompletedResult" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="UnFlagMessage">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="folderName" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="emailId" type="xs:long" />
        <xs:element xmlns:q14="http://schemas.datacontract.org/2004/07/LumiSoft.Net.IMAP" minOccurs="0" name="flags" nillable="true" type="q14:ArrayOfIMAP_MessageFlags" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="UnFlagMessageResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q15="http://schemas.datacontract.org/2004/07/SlEmail.Web.MailService" minOccurs="0" name="UnFlagMessageResult" nillable="true" type="q15:FlagMessageCompletedResult" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="SendMails">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q16="http://schemas.datacontract.org/2004/07/SlEmail.Web.MailService.Interfaces" minOccurs="0" name="user" nillable="true" type="q16:UserInformation" />
        <xs:element xmlns:q17="http://schemas.datacontract.org/2004/07/SlEmail.Web.MailService" minOccurs="0" name="mails" nillable="true" type="q17:ArrayOfNewMailMessage" />
        <xs:element xmlns:q18="http://schemas.microsoft.com/2003/10/Serialization/Arrays" minOccurs="0" name="values" nillable="true" type="q18:ArrayOfanyType" />
        <xs:element xmlns:q19="http://schemas.microsoft.com/2003/10/Serialization/Arrays" minOccurs="0" name="ctxmap" nillable="true" type="q19:ArrayOfKeyValueOfstringstring" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="SendMailsResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="SendMailsResult" nillable="true" type="xs:string" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="SendMail">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="to" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="toName" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="from" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="fromName" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="Subject" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="msg" nillable="true" type="xs:string" />
        <xs:element xmlns:q20="http://schemas.datacontract.org/2004/07/SlEmail.Web.MailService.Interfaces" minOccurs="0" name="user" nillable="true" type="q20:UserInformation" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="SendMailResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="SendMailResult" nillable="true" type="xs:string" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="AttachTo">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="eMail" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="UID" type="xs:long" />
        <xs:element minOccurs="0" name="userName" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="folderName" nillable="true" type="xs:string" />
        <xs:element xmlns:q21="http://schemas.microsoft.com/2003/10/Serialization/Arrays" minOccurs="0" name="ctxmap" nillable="true" type="q21:ArrayOfKeyValueOfstringstring" />
        <xs:element minOccurs="0" name="sender" nillable="true" type="xs:string" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="AttachToResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="AttachToResult" nillable="true" type="xs:string" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="ClipBoard">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q22="http://schemas.microsoft.com/2003/10/Serialization/Arrays" minOccurs="0" name="ctxmap" nillable="true" type="q22:ArrayOfKeyValueOfstringstring" />
        <xs:element minOccurs="0" name="recordID" type="xs:int" />
        <xs:element minOccurs="0" name="tableID" type="xs:int" />
        <xs:element minOccurs="0" name="windowID" type="xs:int" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="ClipBoardResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="ClipBoardResult" nillable="true" type="xs:string" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="AttachEmail">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="eMail" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="UID" type="xs:long" />
        <xs:element minOccurs="0" name="userName" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="folderName" nillable="true" type="xs:string" />
        <xs:element xmlns:q23="http://schemas.microsoft.com/2003/10/Serialization/Arrays" minOccurs="0" name="ctxmap" nillable="true" type="q23:ArrayOfKeyValueOfstringstring" />
        <xs:element minOccurs="0" name="sender" nillable="true" type="xs:string" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="AttachEmailResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="AttachEmailResult" nillable="true" type="xs:string" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="NextHeader">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q24="http://schemas.datacontract.org/2004/07/SlEmail.Web.MailService.Interfaces" minOccurs="0" name="header" nillable="true" type="q24:MailHeader" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="MailBody">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q25="http://schemas.datacontract.org/2004/07/SlEmail.Web.MailService" minOccurs="0" name="mailBody" nillable="true" type="q25:MailBody" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
</xs:schema>